Telegram Group & Telegram Channel
Python dasturlash maktabi
Testlarni guruhlarga ulashing! 🗓MUNDARIJA: --------------------------- ⭕️ 1-bo'lim “Asosiy tushunchalar” Ⓜ️ Python nima? Ⓜ️ Birinchi dastur Ⓜ️ Oddiy operatsiyalar Ⓜ️ Haqiqiy sonlar Ⓜ️ Matnlar (strings) Ⓜ️ O'zgaruvchilar (Variables) Ⓜ️ Ma'lumotlarni olish…
Ⓜ️ Ma'lumotlarni olish input()

Pythonda foydalanuvchidan ma'lumot olish uchun siz intuitiv nomlangan input() (kirish) funktsiyasidan foydalanishingiz mumkin.

Masalan foydalanuvchilarni ro'yxatga olish namuna kodi:

>>> ism = input("Ismingizni yozing: ")
>>> familiya = input("Familiyangizni yozing: ")
>>> print("Foydalanuvchi: " + ism + " " + familiya)
Ismingizni yozing: Brian
Familiyangizni yozing: Tracy
Foydalanuvchi: Brian Tracy

Matnlardan boshqa turdagi ma'lumotlar olish uchun ma'lumot turini ko'rsatish shart.Namuna:

>>> radius = input("Aylana radiusini kiriting (sm)? ")
>>> formula = 2 * 3.14 * int(radius)
>>> print("Aylana uzunligi: " + str(formula) + " sm")
Aylana uzunligi: 12.56 sm



tg-me.com/pythonuz/334
Create:
Last Update:

Ⓜ️ Ma'lumotlarni olish input()

Pythonda foydalanuvchidan ma'lumot olish uchun siz intuitiv nomlangan input() (kirish) funktsiyasidan foydalanishingiz mumkin.

Masalan foydalanuvchilarni ro'yxatga olish namuna kodi:

>>> ism = input("Ismingizni yozing: ")
>>> familiya = input("Familiyangizni yozing: ")
>>> print("Foydalanuvchi: " + ism + " " + familiya)
Ismingizni yozing: Brian
Familiyangizni yozing: Tracy
Foydalanuvchi: Brian Tracy

Matnlardan boshqa turdagi ma'lumotlar olish uchun ma'lumot turini ko'rsatish shart.Namuna:

>>> radius = input("Aylana radiusini kiriting (sm)? ")
>>> formula = 2 * 3.14 * int(radius)
>>> print("Aylana uzunligi: " + str(formula) + " sm")
Aylana uzunligi: 12.56 sm

BY Python dasturlash maktabi


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/pythonuz/334

View MORE
Open in Telegram


Python dasturlash maktabi Telegram | DID YOU KNOW?

Date: |

Newly uncovered hack campaign in Telegram

The campaign, which security firm Check Point has named Rampant Kitten, comprises two main components, one for Windows and the other for Android. Rampant Kitten’s objective is to steal Telegram messages, passwords, and two-factor authentication codes sent by SMS and then also take screenshots and record sounds within earshot of an infected phone, the researchers said in a post published on Friday.

Telegram today rolling out an update which brings with it several new features.The update also adds interactive emoji. When you send one of the select animated emoji in chat, you can now tap on it to initiate a full screen animation. The update also adds interactive emoji. When you send one of the select animated emoji in chat, you can now tap on it to initiate a full screen animation. This is then visible to you or anyone else who's also present in chat at the moment. The animations are also accompanied by vibrations. This is then visible to you or anyone else who's also present in chat at the moment. The animations are also accompanied by vibrations.

Python dasturlash maktabi from no


Telegram Python dasturlash maktabi
FROM USA